Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 3 - Geometric Styles / Geometric Styles Reference
Functions


Getting and Setting Curve Error

The curve error property of style objects specifies the allowable amount of error when QuickDraw GX converts a path shape into a polygon shape. It also specifies how far apart geometric points must be for QuickDraw GX to consider them separate points when performing geometric operations on shapes or reducing shapes.

For example, when you call the GXInsetShape function on a tight curve, the resulting curve can require many more geometric points than the original curve. QuickDraw GX simplifies the resulting shape by removing geometric points that are within the shape's curve error from another geometric point.

You can use the GXGetStyleCurveError function to determine the curve error of a style object and the GXSetStyleCurveError function to change the curve error of a style object.

The GXGetShapeCurveError and GXSetShapeCurveError functions provide a way to determine and change the curve error of the style object associated with a particular shape.


Subtopics
GXGetStyleCurveError
GXSetStyleCurveError
GXGetShapeCurveError
GXSetShapeCurveError

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help